HAML Templates: Pro or Con
-
mrflip
- State changed from new to hold
-
mrflip
I've thought about this more, and if Zach (or anyone) is willing to move the HAML views into their own tiny little generator that would work. A separate generator within the same plugin decouples development, sits out of the way enough to avoid confusing n00bs, but gives everyone HAML views free with purchase.
- make a new generator directory
generators/authenticated_views_haml - copy just the HAML files into
generators/authenticated_views_haml/templates/views - make an
authenticated_views_haml_generator.rbto install them
If you're not zachinglis, and you're interested in doing this, visit his fork on github: http://github.com/zachinglis/res...
- make a new generator directory
-
Zach Inglis
In response to making this a separate generator, I am up for that.
-
Lar Van Der Jagt
+1 both on this being pulled in & for the optional generator approach.
It looks like this is in Zach's fork already, can we get it merged in properly?
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.